package com.violet.detective.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.Date;

import lombok.Data;

/**
 * 
 * @TableName WorkOrder
 */
@TableName(value ="WorkOrder")
@Data
public class Workorder implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 
     */
    @TableField("equipmentId")
    private Integer equipmentId;

    /**
     * 
     */
    @TableField("fixType")
    private String fixType;

    /**
     * 
     */
    private String content;

    /**
     * 
     */
    @TableField("spotCheckJob")
    private String spotCheckJob;

    /**
     * 
     */
    @TableField("overhaulJob")
    private String overhaulJob;

    /**
     * 
     */
    @TableField("operateJob")
    private String operateJob;

    /**
     * 
     */
    @TableField("workOrderLink")
    private String workOrderLink;

    /**
     * 
     */
    private Integer annex;

    /**
     * 
     */
    @TableField("scheduledBeginTime")
    private LocalDateTime scheduledBeginTime;

    /**
     * 
     */
    @TableField("scheduledEndTime")
    private LocalDateTime scheduledEndTime;

    /**
     * 
     */
    @TableField("todoMethod")
    private String todoMethod;

    /**
     * 
     */
    @TableField("plannedSpare")
    private String plannedSpare;

    /**
     * 
     */
    @TableField("plannedMaterial")
    private String plannedMaterial;

    /**
     * 
     */
    @TableField("plannedTool")
    private String plannedTool;

    /**
     * 
     */
    @TableField("plannedLabor")
    private String plannedLabor;

    /**
     * 
     */
    @TableField("plannedSpareCost")
    private BigDecimal plannedSpareCost;

    /**
     * 
     */
    @TableField("plannedMaterialCost")
    private BigDecimal plannedMaterialCost;

    /**
     * 
     */
    @TableField("plannedToolCost")
    private BigDecimal plannedToolCost;

    /**
     * 
     */
    @TableField("plannedLaborCost")
    private BigDecimal plannedLaborCost;

    /**
     * 
     */
    @TableField("actualBeginTime")
    private LocalDateTime actualBeginTime;

    /**
     * 
     */
    @TableField("actualEndTime")
    private LocalDateTime actualEndTime;

    /**
     * 
     */
    @TableField("implementerUserId")
    private Integer implementerUserId;

    /**
     * 
     */
    @TableField("workReport")
    private String workReport;

    /**
     * 
     */
    @TableField("workReportAnnex")
    private String workReportAnnex;

    /**
     * 
     */
    @TableField("implementUnit")
    private String implementUnit;

    /**
     * 
     */
    @TableField("actualSpare")
    private String actualSpare;

    /**
     * 
     */
    @TableField("actualMaterial")
    private String actualMaterial;

    /**
     * 
     */
    @TableField("actualTool")
    private String actualTool;

    /**
     * 
     */
    @TableField("actualLabor")
    private String actualLabor;

    /**
     * 
     */
    @TableField("actualSpareCost")
    private BigDecimal actualSpareCost;

    /**
     * 
     */
    @TableField("actualMaterialCost")
    private BigDecimal actualMaterialCost;

    /**
     * 
     */
    @TableField("actualToolCost")
    private BigDecimal actualToolCost;

    /**
     * 
     */
    @TableField("actualLaborCost")
    private BigDecimal actualLaborCost;

    /**
     * 
     */
    private Object state;

    @TableField(value = "createTime", fill = FieldFill.INSERT)
    private Date createTime;

    @TableField(value = "updateTime", fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;

    @TableField("equipmentName")
    private String equipmentName;

    @TableField("equipmentMajor")
    private String equipmentMajor;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}